package Base;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Alain on 2016/3/12.
 */
@SuppressWarnings("unused")
public class MultipleCollisionFile<Template>{
    public List<Template> chooseA = new ArrayList<Template>();
    public List<Template> chooseB = new ArrayList<Template>();

    public String name, floor, sChooseA, sChooseB;

    public void setName(String sName) {
        this.name = sName;
    }

    public void setFloor(String sFloor) {
        this.floor = sFloor;
    }

    public void setChooseA() {
        this.sChooseA = JsonUtils.toJson(chooseA);
    }

    public void setChooseB() {
        this.sChooseB = JsonUtils.toJson(chooseB);
    }

    public void setListFileA(List<Template> chooseA) {
        if (!chooseA.isEmpty())this.chooseA = chooseA;
    }

    public void setListFileB(List<Template> chooseB) {
        if (!chooseB.isEmpty())this.chooseB = chooseB;
    }
}
